package co.fitstart.admin.handler;

import co.fitstart.entity.order.Order;
import co.fitstart.entity.user.User;

/**
 *
 * @author downpour
 */
public interface QrcodeHandler {

    /**
     * @param code
     * @param mediaId
     * @return
     */
    public String saveUserQrcode(String code, String mediaId);

    /**
     * @param order
     * @param user
     */
    public void saveOrderQrcode(Order order, User user);

    /**
     * @param order
     * @param user
     * @return
     */
    public boolean deleteOrderQrcode(Order order, User user);

}
